// packageE/appointment/components/appointment_nav.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    category: {
      type: null
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    toNav(e) {
      console.log(e)
      let {
        id
      } = e.currentTarget.dataset;
      wx.navigateTo({
        url: '/packageE/appointment/ProjectList/ProjectList?category_id=' + id,
      })
    }
  }
})